#include <header.h>

int main(){

    int fd = open("1.pipe", O_WRONLY);
    
    int times = 0;
    while(1){
        char buf[1024]={0};
        write(fd, buf,sizeof(buf));
        times++;
        printf("times: %d \n", times);

    }

    //write(fd, "hello", 5);
    close(fd);

    return 0;
}

